package com.wangzhen.spring.rabbit.entity;

import java.io.Serializable;

public class Order implements Serializable {

    private String id;
    private String name;
    private String msgId; //存储消息发送的唯一ID

    public Order() {}

    public Order(String id, String name, String msgId) {
        this.id = id;
        this.name = name;
        this.msgId = msgId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

}
